<%@page import="nnweboa.DB"%>
<%@page import="nnweboa.Userinfo"%>
<%@page import="java.util.List"%>
<%@page import="nnweboa.Unitls"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%
	String mail = request.getParameter("user");
	if (!mail.isEmpty()) {
		List<Userinfo> userinfo = Unitls.findByMail(mail, out);
		if (userinfo.size() > 0) {
			DB.DeleteUser(userinfo.get(0));
			request.getRequestDispatcher("humnmnager.jsp").forward(
					request, response);
		}
	}
%>